package com.wdy.async.method.invocation;

import java.util.Optional;

/**
 * @ClassName: AsyncCallback
 * @Description: TODO
 * @Date: 2019/12/30 15:47
 * @Author: wangdy001
 * @Version: 1.0
 */
@FunctionalInterface
public interface AsyncCallback<T> {
    void onComplete(T t, Optional<Exception> optionalE);
}
